An abstract class can have one or more properties marked with abstract
. Subclasses
need to override
such properties and provide implementations of the getter
(and, on a var
property, a settter).
Here, we override the abstract property and just use a literal as the value.
Tags: